home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / bfd / doc / doc.str < prev    next >
Text File  |  1994-09-02  |  2KB  |  153 lines

  1. : DOCDD
  2.     skip_past_newline
  3.     get_stuff_in_command kill_bogus_lines catstr
  4.     ;
  5.  
  6. : ENDDD
  7.     skip_past_newline
  8.     ;
  9.  
  10. : EXAMPLE
  11.     skip_past_newline    
  12.     get_stuff_in_command kill_bogus_lines do_fancy_stuff translatecomments 
  13.     courierize catstr
  14.  
  15.     ;
  16.  
  17. : INODE 
  18.     "@node " catstr skip_past_newline copy_past_newline catstr 
  19.     ;
  20.  
  21. : CODE_FRAGMENT
  22.     EXAMPLE 
  23.     ;
  24.  
  25. : SYNOPSIS
  26.     skip_past_newline
  27.     "@strong{Synopsis}\n" catstr
  28.     "@example\n" catstr
  29.     get_stuff_in_command  
  30.     kill_bogus_lines
  31.     indent
  32.     catstr
  33.     "@end example\n" catstr
  34.  
  35.     ;
  36.  
  37. : func
  38.     "@findex "    - a
  39.     skip_past_newline
  40.     copy_past_newline
  41.     dup        - a x x 
  42.     "@subsubsection @code{" - a x x b 
  43.     swap
  44.     remchar
  45.     "}\n" - a x b x c
  46.     catstr     catstr     catstr     catstr     catstr 
  47.     ;
  48.  
  49. : FUNCTION
  50.     "@findex "    - a
  51.     skip_past_newline
  52.     copy_past_newline
  53.     dup        - a x x 
  54.     "@subsubsection @code{" - a x x b 
  55.     swap
  56.     remchar
  57.     "}\n" - a x b x c
  58.     catstr     catstr     catstr     catstr     catstr 
  59.     ;
  60.  
  61. : bodytext
  62.     get_stuff_in_command 
  63.     bulletize
  64.     kill_bogus_lines
  65.     do_fancy_stuff
  66.     courierize
  67.     catstr
  68.     "@*\n" catstr
  69.     ;
  70.  
  71. : asection
  72.     skip_past_newline
  73.     catstr
  74.     copy_past_newline     
  75.     do_fancy_stuff catstr     
  76.     bodytext    
  77.     ;
  78.  
  79. : SECTION 
  80.     "@section " asection  ;
  81.  
  82. : SUBSECTION
  83.     "@subsection " asection  ;
  84.  
  85. : SUBSUBSECTION
  86.     "@subsubsection " asection  ;
  87.  
  88. : subhead
  89.     skip_past_newline
  90.     bodytext
  91.     ;
  92.  
  93.  
  94.  
  95.     
  96. : DESCRIPTION 
  97.     "@strong{Description}@*\n" catstr subhead ;
  98.  
  99. : RETURNS
  100.     "@strong{Returns}@*\n" catstr subhead ;
  101.  
  102. : INTERNAL_FUNCTION
  103.     func ;
  104.  
  105.  
  106. : INTERNAL_DEFINITION 
  107.     func ;
  108.  
  109.  
  110. : INTERNAL
  111.     func ;
  112.  
  113. : TYPEDEF
  114.     FUNCTION ;
  115.  
  116. : SENUM
  117.     skip_past_newline
  118.     "Here are the possible values for @code{enum "
  119.     copy_past_newline remchar catstr
  120.     "}:\n\n" catstr catstr
  121.     ;
  122. : ENUM
  123.     skip_past_newline
  124.     "@deffn {} "
  125.     copy_past_newline catstr catstr
  126.     ;
  127. : ENUMX
  128.     skip_past_newline
  129.     "@deffnx {} "
  130.     copy_past_newline catstr
  131.     catstr
  132.     ;
  133. : ENUMEQ
  134.     skip_past_newline
  135.     "@deffn {} "
  136.     copy_past_newline catstr catstr
  137.     skip_past_newline
  138.     ;
  139. : ENUMEQX
  140.     skip_past_newline
  141.     "@deffnx {} "
  142.     copy_past_newline catstr
  143.     catstr
  144.     skip_past_newline
  145.     ;
  146. : ENUMDOC
  147.     skip_past_newline
  148.     get_stuff_in_command
  149.     strip_trailing_newlines
  150.     catstr
  151.     "\n@end deffn\n" catstr
  152.     ;
  153.